<%--
  Created by IntelliJ IDEA.
  User: cjt
  Date: 2020/12/10
  Time: 18:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>详情</title>
    <link rel="stylesheet" href="/css/main.css">
    <link rel="stylesheet" href="/css/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>角色信息详情</h3>
    <form action="#" method="post">
        <table class="form-table">
            <tr>
                <td class="label">序号</td>
                <td colspan="3" class="detail">
                    ${role.ro_id}
                </td>
            </tr>
            <tr>
                <td class="label">角色名称</td>
                <td colspan="3" class="detail">
                    ${role.ro_name}
                </td>
            </tr>
            <tr>
                <td class="label">角色描述</td>
                <td colspan="3" class="detail">
                    ${role.ro_desc}
                </td>
            </tr>
            <tr>
                <td class="label">创建时间</td>
                <td colspan="3" class="detail">
                    <fmt:formatDate value="${role.ro_create_time}" pattern="yyyy-MM-dd HH:mm:ss"/>
                </td>
            </tr>
            <tr>
                <td class="label">状态</td>
                <td colspan="3" class="detail">
                    ${role.state=="0"?"启用中":"禁用中"}
                </td>
            </tr>
            <tr>
                <td class="label">上次更新时间</td>
                <td colspan="3" class="detail">
                    <fmt:formatDate value="${role.ro_update_time}" pattern="yyyy-MM-dd HH:mm:ss"/>
                </td>
            </tr>
        </table>
        <div class="buttons">
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>

</body>
</html>
